<p>&nbsp;</p>
<form name="frm_login" action="<?php echo $this->site['base_url']?>admin_login/sm" method="post">
<table class="login" align="center" cellpadding="5" cellspacing="0">
  <tr>
    <td><table align="left" cellpadding="0" cellspacing="0">
        <tr>
          <td class="login_logo"><a target="_self" href="<?php echo $this->site['base_url']?>"><img src="<?php echo $this->site['base_url']?>themes/admin/pics/logo.gif"/></a></td>
          <td><b><font style="font-family:Geneva; font-size:16px"><?php echo $this->site['site_name']?></font></b><br>
            <font style="font-family:Arial; font-size:13px"><?php echo $this->site['site_slogan']?></font></td>
        </tr>
      </table></td>
  </tr>
  <tr class="login_caption">
    <td class="login_caption"><?php echo Kohana::lang('login_lang.tt_page')?></td>
  </tr>
  <tr>
    <td><table align="center" cellspacing="0" cellpadding="5">        
          <tr>
            <td align="right">&nbsp;</td>
            <td class="error"><?php echo isset($mr)?$mr['error_frm']:''?>&nbsp;</td>
          </tr>
          <tr>
            <td width="37%" align="right"><?php echo Kohana::lang('login_lang.lbl_username')?>:</td>
            <td><input type="text" name="txt_username" id="txt_username" style="width:10em">
              &nbsp;</td>
          </tr>
          <tr>
            <td align="right"><?php echo Kohana::lang('login_lang.lbl_password')?>:</td>
            <td><input type="password" name="txt_pass" id="txt_pass" style="width:10em">
              &nbsp;</td>
          </tr>
          <tr>
            <td align="right">&nbsp;</td>
            <td>
            <input type="submit" name="submit_login" class="button" value="<?php echo Kohana::lang('login_lang.btn_login')?>" />
            &nbsp;
            <input type="button" class="button" value="<?php echo Kohana::lang('login_lang.btn_homepage')?>" onclick="javascript:location.href='<?php echo $this->site['base_url']?>'"/>
            </td>
          </tr>
          <tr height="45">
            <td>&nbsp;</td>
            <td valign="top"><a href="<?php echo $this->site['base_url']?>admin_login/forget_pass"><?php echo Kohana::lang('login_lang.lbl_forgetpass')?></a></td>
          </tr>        
      </table></td>
  </tr>
  <tr>
    <td class="login_footer"><?php echo Kohana::lang('login_lang.lbl_copyright')?></td>
  </tr>
</table>
</form>
<script language="javascript">
document.getElementById('txt_username').focus();
</script>